#include "tableEntry.h"

tableEntry::tableEntry()
{
	procIP;
	inc;
	req;
}

tableEntry::tableEntry(char* newIP, int newInc, int newReq, int newCnum)
{
	for(int i = 0; i < sizeof(newIP); i++)
		procIP[i] = newIP[i];
	inc = newInc;
	req = newReq;
	clientNum = newCnum;
}

char* tableEntry::getIP()
{
	return procIP;
}

int tableEntry::getInc()
{
	return inc;
}

int tableEntry::getReq()
{
	return req;
}

int tableEntry::getCnum()
{
	return clientNum;
}

void tableEntry::setReq(int newReq)
{
	req = newReq;
}